package com.sensePlusVR.utils;


import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

import android.content.Context;

import com.sensePlusVR.bean.GameItem;
import com.sensePlusVR.main.VrRealActivity;

/**
 * 跳转游戏测试
 * @author Charles
 *
 */
public class JumpGameTest {
	
	
	/**
	 * 跳转到Unity场景
	 * @throws FileNotFoundException 
	 */
	public static  void jumpVRActivity(Context context,boolean isVrMode){
		

	}
	
	/**
	 * 跳转真人视频测试
	 * @param context
	 * @param isVrMode
	 */
	public static void jumpRealActivity(Context context,boolean isVrMode,GameItem gameItem){
		
		String gameConfig = FileUtils.getSDcardDir();
		if (Constant.nativeBundleName == null){
			gameConfig = gameConfig+"/jwaoo/realGame_V3_longloop/videoGame.json";
		}else{
			gameConfig = gameConfig+"/jwaoo/"+Constant.nativeBundleName+"/videoGame.json";
		}
		List<String>gameList = new ArrayList<String>();
		gameList.add(gameConfig);
		PageJumpUtil.JumpToRealGame(context, VrRealActivity.class,isVrMode,gameList,gameItem);
	}

}
